﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CPFUI.IControl
{
    public class OfficeMenuModel
    {
        public OfficeMenuModel()
        {
            Items = new List<OfficeMenuItem>();
        }
        public bool IsWrap = false;
        public string Name { get; set; }
        public float Width { get; set; }

        public List<OfficeMenuItem> Items { get; set; }
    }
    public class OfficeMenuItem
    {
        public int Width { get; set; }
        public int Height { get; set; }
        public string Name { get; set; }
        public object Image { get; set; }
        public object Object { get; set; }
        public OfficeMenuType MenuType { get; set; }
    }
    public enum OfficeMenuType
    {
        None,
        TextBlock,
        Button,
        ListButton,
        Split,
        ComboBox,
        TextBox
    }
}
